import Cookies from 'js-cookie'
const getters = {
  getCollapse: (state: any) => state.controls.isCollapse,
  getUserInfo: (state: any) => (Cookies.get('userInfo') ? JSON.parse(`${Cookies.get('userInfo')}`) : '')
}
export default getters;
